<?
//arrprint($arResult["ITEMS"]["AnDelCanBuy"],'$arResult["ITEMS"]["AnDelCanBuy"]');
foreach($arResult["ITEMS"]["AnDelCanBuy"] as $k => $item):
$element=GetIBlockElement($item["PRODUCT_ID"]); 
//arrprint($element);
 //$element["DISPLAY_PROPERTIES"] = array();
// $prop=$element["PREVIEW_PICTURE"]
 //arrprint($element);
// $element["DISPLAY_PROPERTIES"]["PHOTOS"] = CIBlockFormatProperties::GetDisplayValue($arResult, $prop, "catalog_out");


$arResult["ITEMS"]["AnDelCanBuy"][$k]["PREVIEW_PICTURE"]
    =$APPLICATION->IncludeComponent("soulstream:imager", "", 
									Array(
											"MODE" => "1",
											"RETURN" => "src",
											"IMAGE" =>CFile::GetPath($element["PREVIEW_PICTURE"]),
											"WIDTH" => "104",
											"HEIGHT" => "71",
											"ADD_WATERMARK" => "N",
											"ADD_TEXT" =>"N", 
											"ADD_CORNER" => "N",
											),false, array("HIDE_ICONS"=>"Y")
										);
endforeach;
?>